import pytest
from common import log_set,send_mail
#封装日志
if __name__ == '__main__':
    log_set()
    pytest.main(['./','-s','--html=baogao.html'])
    send_mail(['log.txt','baogao.html'])